package com.revenant.driver.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.revenant.driver.R;
import com.revenant.driver.bean.OnlinePhoneBean;

public class PhoneSelectAdapter extends BaseQuickAdapter<OnlinePhoneBean, BaseViewHolder> {


    public PhoneSelectAdapter() {
        super(R.layout.item_phone);
    }

    @Override
    protected void convert(BaseViewHolder helper, OnlinePhoneBean item) {
        helper.setText(R.id.car_num, item.getPhonenum());
        helper.addOnClickListener(R.id.click);

    }

}